// import 'bootstrap'
// import './style'

console.log('index')

let url = ''
if(DEV === 'dev') {
    url = 'http://localhost:3000'
} else {
    url = 'http://localhost:5000'
}
console.log(url, '---------')
console.log(typeof FLAG)

let xhr = new XMLHttpRequest()

// localhost:5000/api/user 
// http-proxy
xhr.open('GET', '/user', true)

xhr.onload = function() {
    console.log(xhr.response)
}

xhr.send()

// class Log {
//     constructor() {
//         console.log('error')
//     }
// }
// let log = new Log()

// console.log('aaa')